#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL;
using Cephei.QL.Times;
using Cephei.QL.Indexes;
namespace Cephei.QL.Instruments
{
    /// <summary> 
	/// ! swap paying Libor against BMA coupons
	/// </summary>
    [Guid ("D230DB92-6A99-484a-9DD1-0987CD5E0130"),ComVisible(true)]
	public interface IBMASwap : Cephei.QL.Instruments.ISwap
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Cephei.QL.ICashFlow> BmaLeg {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double BmaLegBPS {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double BmaLegNPV {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double FairLiborFraction {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double FairLiborSpread {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double LiborFraction {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Cephei.QL.ICashFlow> LiborLeg {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double LiborLegBPS {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double LiborLegNPV {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double LiborSpread {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Nominal {get;}
        /// <summary> 
		/// 
		/// </summary>
		 QL.Instruments.BMASwap.TypeEnum Type {get;}
    }   

    /// <summary> 
	/// ! swap paying Libor against BMA coupons Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IBMASwap_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IBMASwap Create (QL.Instruments.BMASwap.TypeEnum type, Double nominal, Cephei.QL.Times.ISchedule liborSchedule, Double liborFraction, Double liborSpread, Cephei.QL.Indexes.IIborIndex liborIndex, Cephei.QL.Times.IDayCounter liborDayCount, Cephei.QL.Times.ISchedule bmaSchedule, Cephei.QL.Indexes.IBMAIndex bmaIndex, Cephei.QL.Times.IDayCounter bmaDayCount, Cephei.QL.IPricingEngine QL_Pricer);
    }
}

